<%@page import="com.qdu.dao.UserLoginDao"%>
<%@page import="java.text.NumberFormat"%>
<%@page import="java.util.List"%>
<%@page import="java.*"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head><title>找回密码</title>
        <LINK type=text/css rel=stylesheet>
     <STYLE>
            #div0{
                width:100%;
                height:50px;
                background-color:#FFCCCC;
                position:fixed;
                z-index:10;
                margin:-10px -10px 0px -10px;
            }
            #top-page{
                float:right;
                height:10px;
                white-space:nowrap;
                margin:25px 0px 0px 0px;

            }	
            #logo{
                height:50px;
                width:50px;
                float:left;
            }
            
        </style>
    </head>
    <body leftMargin=0 topMargin=0 bgColor=#F0FFFF>
        <div id="div0">
            <div id="logo">
                <img src="img/logo.jpg" style="width:100%;height:100%; margin-left:15%">
            </div>
            <div id="top-page" align="right" style="margin-right:5%">
                <div align=center>
                    <a href="/index.jsp"><FONT color=#ffffff>首页</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/moregood.jsp"><FONT color=#ffffff>最新图书</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/fenlei.jsp"><FONT color=#ffffff>图书分类</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/moretuijian.jsp"><FONT color=#ffffff>特价图书</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/admin/login.jsp" target=_blank><FONT color=#ffffff>管理入口</FONT></a>
                </div>
            </div>
        </div>
        <br><br>
        <div align="center">
            <img src="img/top.jpg" width="779">
</div>
                
        <%
        String message = (String)request.getAttribute("message");
                if(message == null){
                                message = "";
                }
                if (!message.trim().equals("")){
                        out.println("<script language='javascript'>");
                        out.println("alert('"+message+"');");
                        out.println("</script>");
                }
                request.removeAttribute("message");
        %>

        <script language="javascript">
            function check()
            {
                if (document.form1.login.value == "" || document.form1.email.value == "")
                {
                    alert("必须填写所有项目！");
                    return false;
                }
            }
        </script>

   <table cellSpacing=0 cellPadding=0 width=779 align=center border=0>
        <tbody>
            <tr>
                <td vAlign=top width=779>

                    <form name="form1" action="RegUtil.jsp" method="post" onSubmit="return check()">
                        <table border="0" align="center" width="50%">
                            <tr><input type=hidden name=method value=lost>
                            <td align="center" colspan="2"><br><h2>找回密码</h2><br>以下项目必须填写</td>
                            </tr>
                            <tr>
                                <td align="center" height="30">登&nbsp;陆&nbsp;名</td>
                                <td align="left" ><input type="text" name="login" size="20" maxlength="16" value=<%=(String)request.getAttribute("login")==null?"":(String)request.getAttribute("login") %>></td>
                            </tr>
                            <tr>
                                <td align="center" height="30">邮&nbsp;&nbsp;&nbsp;&nbsp;箱</td>
                                <td align="left" ><input type="text" name="email" size="20" maxlength="16" value=<%=(String)request.getAttribute("email")==null?"":(String)request.getAttribute("email") %>></td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2"><input type="submit" value="提交">&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重填"></td>
                            </tr>
                        </table>
                    </form>
                </td>
            </tr>
        </tbody>
      </table>
<br><br><br>
<br><br><br>
<br><br><br>
<div style="background:#CCFFFF;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
<div style="background:#FFCCCC;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
<div style="background:#CCFFFF;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>

</BODY></HTML>
